Carbon


UCKeyTranslate

Header: UnicodeUtilities.h Carbon status: Supported

OSStatus UCKeyTranslate (
    const UCKeyboardLayout *keyLayoutPtr, 
    UInt16 virtualKeyCode, 
    UInt16 keyAction, 
    UInt32 modifierKeyState, 
    UInt32 keyboardType, 
    OptionBits keyTranslateOptions, 
    UInt32 *deadKeyState, 
    UniCharCount maxStringLength, 
    UniCharCount *actualStringLength, 
    UniChar unicodeString[]
);
keyLayoutPtr
virtualKeyCode
keyAction
modifierKeyState
keyboardType
keyTranslateOptions
deadKeyState
maxStringLength
actualStringLength
unicodeString
function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.5 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/4/2000)